200
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FormatAnchor(True) = "<b><u><fgcolor=FF0000> </fgcolor></u></b>"
		.Columns.Add "Column"
		With .Items
			.CellCaptionFormat(.AddItem("Just an <a1>anchor</a> element ..."),0) = 1
		End With
		With .Items
			.CellCaptionFormat(.AddItem("Just another <a2>anchor</a> element ..."),0) = 1
		End With
	End With
End Function
</SCRIPT>
</BODY>

199
Can I change the font for the tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ToolTipDelay = 1
		.ToolTipWidth = 364
		.Columns.Add("tootip").ToolTip = "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>"
	End With
End Function
</SCRIPT>
</BODY>

198
Can I change the font for the tooltip

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ToolTipDelay = 1
		With .ToolTipFont
			.Name = "Tahoma"
			.Size = 14
		End With
		.ToolTipWidth = 364
		.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
	End With
End Function
</SCRIPT>
</BODY>

197
Can I change the order of the buttons in the scroll bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollOrderParts(1) = "t,l,r"
		.ScrollOrderParts(0) = "t,l,r"
		.ScrollBars = 15
	End With
End Function
</SCRIPT>
</BODY>

196
The thumb size seems to be very small. Can I make it bigger

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ColumnAutoResize = False
		.Columns.Add("C1").Width = 256
		.Columns.Add("C2").Width = 256
		.Columns.Add("C3").Width = 256
		.ScrollThumbSize(1) = 64
	End With
End Function
</SCRIPT>
</BODY>

195
How can I display my text on the scroll bar, using a different font

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollPartCaption(1,256) = "This is <s><font Tahoma;12> just </font></s> text"
		.ColumnAutoResize = False
		.ScrollHeight = 20
		.Columns.Add("C1").Width = 256
		.Columns.Add("C2").Width = 256
		.Columns.Add("C3").Width = 256
	End With
End Function
</SCRIPT>
</BODY>

194
How can I display my text on the scroll bar, using a different font

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollPartCaption(1,256) = "This is just a text"
		.ScrollFont(1).Size = 12
		.ColumnAutoResize = False
		.ScrollHeight = 20
		.Columns.Add("C1").Width = 256
		.Columns.Add("C2").Width = 256
		.Columns.Add("C3").Width = 256
	End With
End Function
</SCRIPT>
</BODY>

193
How can I display my text on the scroll bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollPartCaption(1,256) = "this is just a text"
		.ColumnAutoResize = False
		.Columns.Add("C1").Width = 256
		.Columns.Add("C2").Width = 256
		.Columns.Add("C3").Width = 256
	End With
End Function
</SCRIPT>
</BODY>

192
How do I enlarge or change the size of the control's scrollbars

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollHeight = 18
		.ScrollWidth = 18
		.ScrollButtonWidth = 18
		.ScrollButtonHeight = 18
		.ScrollBars = 15
	End With
End Function
</SCRIPT>
</BODY>

191
How do I assign a tooltip to a scrollbar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollToolTip(1) = "This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar"
		.ColumnAutoResize = False
		.Columns.Add("C1").Width = 256
		.Columns.Add("C2").Width = 256
		.Columns.Add("C3").Width = 256
	End With
End Function
</SCRIPT>
</BODY>

190
How do I assign an icon to the button in the scrollbar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
		.ScrollPartVisible(1,32768) = True
		.ScrollPartCaption(1,32768) = "<img>1</img>"
		.ScrollHeight = 18
		.ScrollButtonWidth = 18
		.ScrollBars = 5
	End With
End Function
</SCRIPT>
</BODY>

189
I need to add a button in the scroll bar. Is this possible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollPartVisible(1,32768) = True
		.ScrollPartCaption(1,32768) = "1"
		.ScrollBars = 5
	End With
End Function
</SCRIPT>
</BODY>

188
Can I display an additional buttons in the scroll bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollPartVisible(1,32768) = True
		.ScrollPartVisible(1,16384) = True
		.ScrollPartVisible(1,1) = True
		.ScrollPartVisible(1,2) = True
		.ScrollBars = 5
	End With
End Function
</SCRIPT>
</BODY>

187
Can I display the picture aligned to the right, while the text aligned to the left

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.DefaultItemHeight = 48
		.Columns.Add "C1"
		With .Items
			s = .SplitCell(.AddItem("Text"),0)
			.CellPicture(,s) = Gantt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
			.CellHAlignment(,s) = 2
		End With
	End With
End Function
</SCRIPT>
</BODY>

186
How can I display a custom size picture to a cell or item

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.DefaultItemHeight = 48
		.Columns.Add "C1"
		With .Items
			.CellPicture(.AddItem("Text"),0) = Gantt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		End With
	End With
End Function
</SCRIPT>
</BODY>

185
How can I display a multiple pictures to a cell or item

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.DefaultItemHeight = 48
		.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
		.HTMLPicture("pic2") = "c:\exontrol\images\auction.gif"
		.Columns.Add "C1"
		With .Items
			.CellCaptionFormat(.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),0) = 1
		End With
	End With
End Function
</SCRIPT>
</BODY>

184
How do I change the column's foreground color for numbers between an interval - Range

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		With .ConditionalFormats.Add("%0 >= 2 and %0 <= 10")
			.Bold = True
			.ForeColor = RGB(255,0,0)
			.ApplyTo = 1 ' &H1
		End With
		.Columns.Add "N1"
		.Columns.Add "N2"
		With .Items
			.CellCaption(.AddItem(1),1) = 2
		End With
		With .Items
			.CellCaption(.AddItem(3),1) = 3
		End With
		With .Items
			.CellCaption(.AddItem(10),1) = 11
		End With
		With .Items
			.CellCaption(.AddItem(13),1) = 31
		End With
		.SearchColumnIndex = 1
	End With
End Function
</SCRIPT>
</BODY>

183
How do I change the item's foreground color for numbers between an interval - Range

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ConditionalFormats.Add("%0 >= 2 and %0 <= 10").ForeColor = RGB(255,0,0)
		.Columns.Add "Numbers"
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 10
		.Items.AddItem 20
	End With
End Function
</SCRIPT>
</BODY>

182
How do I change the item's background color for numbers less than a value

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ConditionalFormats.Add("%0 < 10").BackColor = RGB(255,0,0)
		.Columns.Add "Numbers"
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 10
		.Items.AddItem 20
	End With
End Function
</SCRIPT>
</BODY>

181
How do I underline the numbers greater than a value

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ConditionalFormats.Add("%0 >= 10").Underline = True
		.Columns.Add "Numbers"
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 10
		.Items.AddItem 20
	End With
End Function
</SCRIPT>
</BODY>

180
How do I highlight in italic the numbers greater than a value

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ConditionalFormats.Add("%0 >= 10").StrikeOut = True
		.Columns.Add "Numbers"
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 10
		.Items.AddItem 20
	End With
End Function
</SCRIPT>
</BODY>

179
How do I highlight in italic the numbers greater than a value

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ConditionalFormats.Add("%0 >= 10").Italic = True
		.Columns.Add "Numbers"
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 10
		.Items.AddItem 20
	End With
End Function
</SCRIPT>
</BODY>

178
How do I highlight in bold the numbers greater than a value

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ConditionalFormats.Add("%0 >= 10").Bold = True
		.Columns.Add "Numbers"
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 10
		.Items.AddItem 20
	End With
End Function
</SCRIPT>
</BODY>

177
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.LinesAtRoot = 1
		.HasButtons = 4
		.HasButtonsCustom(0) = 16777216
		.HasButtonsCustom(1) = 33554432
		.Columns.Add "Column"
		With .Items
			h = .AddItem("Root 1")
			.InsertItem h,,"Child 1"
			.InsertItem h,,"Child 2"
			.ExpandItem(h) = True
			h = .AddItem("Root 2")
			.InsertItem h,,"Child"
		End With
	End With
End Function
</SCRIPT>
</BODY>

176
Can I use your EBN files to change the visual appearance for radio buttons

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.RadioImage(0) = 16777216
		.RadioImage(1) = 33554432
		.Columns.Add("Radio").Def(1) = True
		With .Items
			.AddItem "Radio 1"
			.CellState(.AddItem("Radio 2"),0) = 1
			.AddItem "Radio 3"
		End With
	End With
End Function
</SCRIPT>
</BODY>

175
Can I use your EBN files to change the visual appearance for checkbox cells

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.CheckImage(0) = 16777216
		.CheckImage(1) = 33554432
		.Columns.Add("Check").Def(0) = True
		With .Items
			.AddItem "Check 1"
			.CellState(.AddItem("Check 2"),0) = 1
		End With
	End With
End Function
</SCRIPT>
</BODY>

174
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.VisualAppearance.Add 3,"c:\exontrol\images\hot.ebn"
		.Background(388) = &H1000000
		.Background(389) = &H2000000
		.Background(391) = &H3000000
		.Background(260) = &H1000000
		.Background(261) = &H2000000
		.Background(263) = &H3000000
		.ColumnAutoResize = False
		.ScrollBySingleLine = True
		.Columns.Add("S").Width = 483
		With .Items
			.ItemHeight(.AddItem("Item 1")) = 248
		End With
		.Items.AddItem "Item 2"
	End With
End Function
</SCRIPT>
</BODY>

173
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.VisualAppearance.Add 3,"c:\exontrol\images\hot.ebn"
		.Background(388) = &H1000000
		.Background(389) = &H2000000
		.Background(391) = &H3000000
		.ColumnAutoResize = False
		.Columns.Add("S").Width = 483
	End With
End Function
</SCRIPT>
</BODY>

172
I've seen that you can change the visual appearance for the scroll bar. How can I do that

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.VisualAppearance.Add 3,"c:\exontrol\images\hot.ebn"
		.Background(324) = &H1000000
		.Background(325) = &H2000000
		.Background(327) = &H3000000
		.Background(404) = RGB(240,240,240)
		.Background(276) = RGB(240,240,240)
		.Background(511) = RGB(240,240,240)
		.Columns.Add("S").Width = 32
		.Columns.Add("Level 1").LevelKey = 1
		.Columns.Add("Level 2").LevelKey = 1
		.Columns.Add("Level 3").LevelKey = 1
		.Columns.Add("E1").Width = 32
		.Columns.Add("E2").Width = 32
		.Columns.Add("E3").Width = 32
		.Columns.Add("E4").Width = 32
		.ColumnAutoResize = False
		.ScrollBars = 15
	End With
End Function
</SCRIPT>
</BODY>

171
Is there any option to highligth the column from the cursor - point

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.Background(32) = &H1000000
		.Columns.Add("S").Width = 32
		.Columns.Add("Level 1").LevelKey = 1
		.Columns.Add("Level 2").LevelKey = 1
		.Columns.Add("Level 3").LevelKey = 1
		.Columns.Add("E1").Width = 32
		.Columns.Add("E2").Width = 32
		.Columns.Add("E3").Width = 32
		.Columns.Add("E4").Width = 32
	End With
End Function
</SCRIPT>
</BODY>

170
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.Background(20) = &H1000000
		.Background(21) = RGB(255,20,20)
		.Columns.Add("Filter").DisplayFilterButton = True
	End With
End Function
</SCRIPT>
</BODY>

169
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.Background(8) = &H1000000
		.Background(9) = &H1000000
		.Background(10) = &H2000000
		.Background(11) = &H1000000
		.Background(12) = RGB(230,230,230)
		.Background(13) = RGB(230,230,230)
		.Background(14) = &H1000000
		With .Columns.Add("Date")
			.FilterType = 4
			.DisplayFilterButton = True
			.DisplayFilterDate = True
		End With
	End With
End Function
</SCRIPT>
</BODY>

168
How do I change the visual aspect of the close button in the filter bar, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.Background(1) = &H1000000
		.Columns.Add("Filter").FilterType = 1
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

167
How do I change the visual aspect of buttons in the cell, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.Background(2) = &H1000000
		.Background(3) = &H2000000
		.SelForeColor = RGB(0,0,0)
		.ShowFocusRect = False
		.Columns.Add("Column 1").Def(2) = True
		.Items.AddItem "Button 1"
		.Items.AddItem "Button 2"
		.Columns.Add "Column 2"
	End With
End Function
</SCRIPT>
</BODY>

166
How do I change the visual aspect of the drop down filter button, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.Background(0) = &H1000000
		.Columns.Add("Filter").DisplayFilterButton = True
	End With
End Function
</SCRIPT>
</BODY>

165
Is there any function to get the control's data in your x-script format / template
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Columns.Add "Column"
		.Items.AddItem "ToTemplate()"
	End With
End Function
</SCRIPT>
</BODY>

164
How do I enable resizing the columns at runtime

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ColumnsAllowSizing = True
		.MarkSearchColumn = False
		.HeaderVisible = False
		.Columns.Add "Column 1"
		.Columns.Add "Column 2"
		.DrawGridLines = 2
		With .Items
			.CellCaption(.AddItem("Item 1"),1) = "Sub Item 1"
		End With
		With .Items
			.CellCaption(.AddItem("Item 2"),1) = "Sub Item 2"
		End With
	End With
End Function
</SCRIPT>
</BODY>

163
How can I select the second inner column when spliting the cells

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SelectColumnInner = 1
		.FullRowSelect = False
		.DrawGridLines = -1
		.Columns.Add "Column"
		With .Items
			.CellCaption(,.SplitCell(.AddItem("Split Cell 1.1"),0)) = "Split Cell 2.1"
			.CellCaption(,.SplitCell(.AddItem("Split Cell 1.2"),0)) = "Split Cell 2.2"
			.SelectItem(.FirstVisibleItem) = True
		End With
	End With
End Function
</SCRIPT>
</BODY>

162
How can I sort by multiple columns

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SingleSort = False
		.Columns.Add("C1").SortOrder = 1
		.Columns.Add("C2").SortOrder = 2
		.Columns.Add("C3").SortOrder = 1
	End With
End Function
</SCRIPT>
</BODY>

161
How can I add several columns to control's sort bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
		.SortBarColumnWidth = 48
		.Columns.Add("C1").SortOrder = 1
		.Columns.Add("C2").SortOrder = 2
	End With
End Function
</SCRIPT>
</BODY>

160
How can I change the width of the columns being displayed in the sort bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
		.SortBarColumnWidth = 48
		.Columns.Add("C1").SortOrder = 1
		.Columns.Add("C2").SortOrder = 2
	End With
End Function
</SCRIPT>
</BODY>

159
How can I change the height of the sort bar's

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
		.SortBarHeight = 48
	End With
End Function
</SCRIPT>
</BODY>

158
How can I change the sort bar's foreground color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
		.ForeColorSortBar = RGB(255,0,0)
	End With
End Function
</SCRIPT>
</BODY>

157
How can I change the visual appearance of the control's sort bar, using EBN files

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
		.SortBarVisible = True
		.BackColorSortBar = &H1000000
		.BackColorSortBarCaption = &H2000000
		.Appearance = 0
	End With
End Function
</SCRIPT>
</BODY>

156
How can I change the sort bar's background color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
		.BackColorSortBar = RGB(255,0,0)
		.BackColorSortBarCaption = RGB(128,0,0)
	End With
End Function
</SCRIPT>
</BODY>

155
How can I change the default caption being displayed in the control's sort bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
		.SortBarCaption = "new caption"
	End With
End Function
</SCRIPT>
</BODY>

154
How can I show the locked / fixed items on the bottom side of the control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ShowLockedItems = True
		.Columns.Add "Column"
		With .Items
			.LockedItemCount(1) = 2
			.CellCaption(.LockedItem(1,0),0) = "locked item 1"
			.CellCaption(.LockedItem(1,1),0) = "locked item 2"
			.AddItem "un-locked item"
		End With
	End With
End Function
</SCRIPT>
</BODY>

153
How can I show the locked / fixed items

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ShowLockedItems = True
		.Columns.Add "Column"
		With .Items
			.LockedItemCount(0) = 2
			.CellCaption(.LockedItem(0,0),0) = "locked item 1"
			.CellCaption(.LockedItem(0,1),0) = "locked item 2"
			.AddItem "un-locked item"
		End With
	End With
End Function
</SCRIPT>
</BODY>

152
How can I hide the locked / fixed items

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ShowLockedItems = False
		.Columns.Add "Column"
		With .Items
			.LockedItemCount(0) = 1
			.CellCaption(.LockedItem(0,0),0) = "locked item"
			.AddItem "un-locked item"
		End With
	End With
End Function
</SCRIPT>
</BODY>

151
How can I show the control's sort bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SortBarVisible = True
	End With
End Function
</SCRIPT>
</BODY>

150
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.PictureLevelHeader = Gantt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
		.PictureDisplayLevelHeader = 49
		.Columns.Add("S").Width = 32
		.Columns.Add("Level 1").LevelKey = 1
		.Columns.Add("Level 2").LevelKey = 1
		.Columns.Add("Level 3").LevelKey = 1
		.Columns.Add("E1").Width = 32
		.Columns.Add("E2").Width = 32
		.Columns.Add("E3").Width = 32
		.Columns.Add("E4").Width = 32
	End With
End Function
</SCRIPT>
</BODY>

149
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.PictureLevelHeader = Gantt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
		.PictureDisplayLevelHeader = 18
		.Columns.Add("S").Width = 32
		.Columns.Add("Level 1").LevelKey = 1
		.Columns.Add("Level 2").LevelKey = 1
		.Columns.Add("Level 3").LevelKey = 1
		.Columns.Add("E").Width = 32
	End With
End Function
</SCRIPT>
</BODY>

148
How can I display a picture on the control's header, when multiple levels are displayed

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.PictureLevelHeader = Gantt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.Columns.Add("S").Width = 32
		.Columns.Add("Level 1").LevelKey = 1
		.Columns.Add("Level 2").LevelKey = 1
		.Columns.Add("Level 3").LevelKey = 1
	End With
End Function
</SCRIPT>
</BODY>

147
How can I change the header's background color, when multiple levels are displayed

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.BackColorLevelHeader = RGB(250,0,0)
		.Columns.Add("S").Width = 32
		.Columns.Add("Level 1").LevelKey = 1
		.Columns.Add("Level 2").LevelKey = 1
		.Columns.Add("Level 3").LevelKey = 1
	End With
End Function
</SCRIPT>
</BODY>

146
Can I programmatically scroll the control
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Columns.Add "Column"
		.Items.AddItem 0
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 3
		.PutItems .GetItems(0)
		.PutItems .GetItems(0)
		.ScrollPos(True) = 1
	End With
End Function
</SCRIPT>
</BODY>

145
How do I disable expanding or collapsing an item when user presses the arrow keys

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ExpandOnKeys = False
		.LinesAtRoot = -1
		.Columns.Add "Column 1"
		With .Items
			h = .AddItem("Root")
			.InsertItem h,,"Child 1"
			.InsertItem h,,"Child 2"
			.ExpandItem(h) = True
		End With
	End With
End Function
</SCRIPT>
</BODY>

144
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ExpandOnSearch = True
		.LinesAtRoot = -1
		.AutoSearch = True
		.Columns.Add("Column").AutoSearch = 1
		With .Items
			.InsertItem .InsertItem(.AddItem("text"),,"some text"),,"another text"
			.InsertItem .InsertItem(.AddItem("text"),,"some text"),,"another text"
		End With
	End With
End Function
</SCRIPT>
</BODY>

143
Can I programmatically scroll the control
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Columns.Add "Column"
		.Items.AddItem 0
		.Items.AddItem 1
		.Items.AddItem 2
		.Items.AddItem 3
		.PutItems .GetItems(0)
		.PutItems .GetItems(0)
		.Scroll 1
	End With
End Function
</SCRIPT>
</BODY>

142
Do you have some function to load data from a safe array
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Columns.Add "Column"
		.Items.AddItem 0
		.PutItems .GetItems(0)
	End With
End Function
</SCRIPT>
</BODY>

141
Do you have some function to retrieve all items to a safe array
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Columns.Add "Column"
		.Items.AddItem 0
		.PutItems .GetItems(0)
		.Items.AddItem 1
		.PutItems .GetItems(0)
		.Items.AddItem 2
		.PutItems .GetItems(0)
		.Items.AddItem 3
	End With
End Function
</SCRIPT>
</BODY>

140
How can still display the selected items when the control loses the focus

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.HideSelection = False
		.Columns.Add "Column"
		With .Items
			.AddItem "Item 3"
			.AddItem "Item 1"
			.SelectItem(.AddItem("Item 2")) = True
		End With
	End With
End Function
</SCRIPT>
</BODY>

139
How can I hide a column

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Columns.Add("Hidden").Visible = False
		.Columns.Add "2"
		.Columns.Add "3"
		.Columns.Add "4"
		.Columns.Add "5"
	End With
End Function
</SCRIPT>
</BODY>

138
How can I ensure that a column is visible and fits the control's client area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ColumnAutoResize = False
		.Columns.Add("1").Width = 128
		.Columns.Add("2").Width = 128
		.Columns.Add("3").Width = 128
		.Columns.Add("4").Width = 128
		.Columns.Add("5").Width = 128
		.EnsureVisibleColumn "5"
	End With
End Function
</SCRIPT>
</BODY>

137
I've seen that the width of the tooltip is variable. Can I make it larger

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ToolTipWidth = 328
		.Columns.Add("tootip").ToolTip = "this is a tooltip that should be very very very very very very very long"
	End With
End Function
</SCRIPT>
</BODY>

136
How do I disable showing the tooltip for all control
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ToolTipDelay = 0
		.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
	End With
End Function
</SCRIPT>
</BODY>

135
How do I let the tooltip being displayed longer

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ToolTipPopDelay = 10000
		.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
	End With
End Function
</SCRIPT>
</BODY>

134
How do I show the tooltip quicker
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ToolTipDelay = 1
		.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
	End With
End Function
</SCRIPT>
</BODY>

133
How do I change the caption being displayed in the control's filter bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FilterBarCaption = "your filter caption"
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 1
		End With
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

132
How do I disable expanding or collapsing an item when user double clicks it

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ExpandOnDblClick = False
		.LinesAtRoot = -1
		.Indent = 13
		.Columns.Add "Column 1"
		With .Items
			h = .AddItem("Root")
			.InsertItem h,,"Child 1"
			.InsertItem h,,"Child 2"
			.ExpandItem(h) = True
		End With
	End With
End Function
</SCRIPT>
</BODY>

131
How do I search case sensitive, using your incremental search feature

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.AutoSearch = True
		.ASCIILower = ""
		With .Columns
			.Add("exStartWith").AutoSearch = 0
			.Add("exContains").AutoSearch = 1
		End With
		With .Items
			.CellCaption(.AddItem("text"),1) = "another text"
		End With
		With .Items
			.CellCaption(.AddItem("text"),1) = "another text"
		End With
	End With
End Function
</SCRIPT>
</BODY>

130
How do I disable the control
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Enabled = False
	End With
End Function
</SCRIPT>
</BODY>

129
How do I enable the incremental search feature within a column

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.AutoSearch = True
		With .Columns
			.Add("exStartWith").AutoSearch = 0
			.Add("exContains").AutoSearch = 1
		End With
		With .Items
			.CellCaption(.AddItem("text"),1) = "another text"
		End With
		With .Items
			.CellCaption(.AddItem("text"),1) = "another text"
		End With
	End With
End Function
</SCRIPT>
</BODY>

128
How do I call your x-script language

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		With .ExecuteTemplate("Columns.Add(`Column`)")
			.HeaderStrikeOut = True
			.HeaderBold = True
		End With
	End With
End Function
</SCRIPT>
</BODY>

127
How do I call your x-script language

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`"
	End With
End Function
</SCRIPT>
</BODY>

126
How do I show alternate rows in different background color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.BackColorAlternate = RGB(240,240,240)
		.Columns.Add "Column"
		With .Items
			.AddItem "Item 1"
			.AddItem "Item 2"
			.AddItem "Item 3"
			.AddItem "Item 4"
			.AddItem "Item 5"
		End With
	End With
End Function
</SCRIPT>
</BODY>

125
How do I enlarge the drop down filter window

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FilterBarDropDownHeight = "-320"
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterBarDropDownWidth = "-320"
		End With
		.Items.AddItem "Item 1"
		.Items.AddItem "Item 2"
	End With
End Function
</SCRIPT>
</BODY>

124
How do I filter programatically the control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 3
			.Filter = "Item*"
		End With
		.Items.AddItem "Item 1"
		.Items.AddItem ""
		.Items.AddItem "Item 2"
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

123
How do I change the font of the control's filterbar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FilterBarFont.Size = 20
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 1
		End With
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

122
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.FilterBarBackColor = &H1000000
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 1
		End With
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

121
How do I change the background color of the control's filterbar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FilterBarBackColor = RGB(240,240,240)
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 1
		End With
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

120
How do I change the foreground color of the control's filterbar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FilterBarForeColor = RGB(255,0,0)
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 1
		End With
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

119
How do I change the height of the control's filterbar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.FilterBarHeight = 32
		With .Columns.Add("Column")
			.DisplayFilterButton = True
			.FilterType = 1
		End With
		.ApplyFilter 
	End With
End Function
</SCRIPT>
</BODY>

118
How do select only a portion of text when the control starts editing a cell

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.AllowEdit = True
		.SelStart = 1
		.SelLength = 1
		.Columns.Add "Column"
		.Items.AddItem "Item 1"
		.Items.AddItem "Item 2"
	End With
End Function
</SCRIPT>
</BODY>

117
How do I change the header's foreground color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ForeColorHeader = RGB(255,0,0)
		.Columns.Add "Column 1"
		.Columns.Add "Column 2"
		.Items.AddItem "Item 1"
	End With
End Function
</SCRIPT>
</BODY>

116
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Picture = Gantt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.SelBackMode = 1
		.Columns.Add "Column"
		.Items.AddItem "Item 1"
		.Items.AddItem "Item 2"
	End With
End Function
</SCRIPT>
</BODY>

115
It seems that the control uses the TAB key, is there any way to avoid that
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.UseTabKey = False
	End With
End Function
</SCRIPT>
</BODY>

114
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SelectColumnIndex = 1
		.FullRowSelect = False
		.SelectColumn = True
		.Columns.Add "Column 1"
		.Columns.Add "Column 2"
		With .Items
			.CellCaption(.AddItem("Item 1"),1) = "SubItem 1"
		End With
	End With
End Function
</SCRIPT>
</BODY>

113
How do I assign a database to your control, using ADO, ADOR or ADODB objects

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ColumnAutoResize = False
		.ContinueColumnScroll = False
		Set rs = CreateObject("ADOR.Recordset")
		With rs
			.Open "Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExGantt\Sample\Access\SAMPLE.MDB",3,3
		End With
		.DataSource = rs
	End With
End Function
</SCRIPT>
</BODY>

112
How do I change the visual appearance effect for the selected item, using EBN

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.SelBackColor = &H1000000
		.SelForeColor = RGB(0,0,0)
		.ShowFocusRect = False
		.Columns.Add "Column"
		.Items.AddItem 0
		.Items.AddItem 1
	End With
End Function
</SCRIPT>
</BODY>

111
How do I change the colors for the selected item

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SelBackColor = RGB(0,0,0)
		.Columns.Add "Column"
		.Items.AddItem 0
		.Items.AddItem 1
	End With
End Function
</SCRIPT>
</BODY>

110
How do I get ride of the rectangle arround focused item

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ShowFocusRect = False
		.Columns.Add "Column"
		.Items.AddItem 0
		.Items.AddItem 1
	End With
End Function
</SCRIPT>
</BODY>

109
How can I change the control's font
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.Font.Name = "Tahoma"
		.Columns.Add "Column"
	End With
End Function
</SCRIPT>
</BODY>

108
I can't scroll to the end of the data. What can I do
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ScrollBySingleLine = True
		.DrawGridLines = -2
		.Columns.Add "Column"
		With .Items
			.ItemHeight(.AddItem(0)) = 13
		End With
		.PutItems .GetItems(0)
		With .Items
			.ItemHeight(.AddItem(1)) = 26
		End With
		.PutItems .GetItems(0)
		With .Items
			.ItemHeight(.AddItem(2)) = 36
		End With
		.PutItems .GetItems(0)
		With .Items
			.ItemHeight(.AddItem(3)) = 48
		End With
		.PutItems .GetItems(0)
	End With
End Function
</SCRIPT>
</BODY>

107
How do I specify the column where the tree lines / hierarchy are shown

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.LinesAtRoot = 1
		.TreeColumnIndex = 1
		.Columns.Add "Column 1"
		.Columns.Add "Column 2"
		With .Items
			h = .AddItem("Root 1.1")
			.CellCaption(h,1) = "Root 1.2"
			.CellCaption(.InsertItem(h,,"Child 1.1"),1) = "Child 1.2"
			.CellCaption(.InsertItem(h,,"Child 2.1"),1) = "Child 2.2"
			.ExpandItem(h) = True
			h = .AddItem("Root 2.1")
			.CellCaption(h,1) = "Root 2.2"
			.CellCaption(.InsertItem(h,,"Child 1.1"),1) = "Child 1.2"
		End With
	End With
End Function
</SCRIPT>
</BODY>

106
How do I specify the indentation of the child items relative to their parents

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.LinesAtRoot = 1
		.Indent = 11
		.Columns.Add "Column"
		With .Items
			h = .AddItem("Root 1")
			.InsertItem h,,"Child 1"
			.InsertItem h,,"Child 2"
			.ExpandItem(h) = True
			h = .AddItem("Root 2")
			.InsertItem h,,"Child"
		End With
	End With
End Function
</SCRIPT>
</BODY>

105
Is there any option to select an item using the right button of the mouse (rclick)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.RClickSelect = True
		.Columns.Add "Column"
		.Items.AddItem "Item 1"
		.Items.AddItem "Item 2"
	End With
End Function
</SCRIPT>
</BODY>

104
How do I edit a cell

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.AllowEdit = True
		.Columns.Add "Column"
		.Items.AddItem "Item 1"
		.Items.AddItem "Item 2"
	End With
End Function
</SCRIPT>
</BODY>

103
I have FullRowSelect property on False, how do I select a column
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SelectColumnIndex = 1
		.FullRowSelect = False
	End With
End Function
</SCRIPT>
</BODY>

102
How can I scroll columns one by one, not pixel by pixel
<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.ContinueColumnScroll = False
		.ColumnAutoResize = False
		.Columns.Add("1").Width = 128
		.Columns.Add("2").Width = 128
		.Columns.Add("3").Width = 128
		.Columns.Add("4").Width = 128
		.Columns.Add("5").Width = 128
	End With
End Function
</SCRIPT>
</BODY>

101
How can I enable multiple items selection

<BODY onload="Init()">
<OBJECT CLASSID="clsid:09C0C400-3A0F-4CD3-8B93-8D42FCE66726" id="Gantt1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Gantt1
		.SingleSel = False
		.Columns.Add "Column"
		.Items.AddItem 0
		.Items.AddItem 1
		.Items.AddItem 2
	End With
End Function
</SCRIPT>
</BODY>